<template>
  <div>
    <!-- 7.订单列表和详情页使用骨架屏 -->
    <van-skeleton title avatar :row="3" :loading="loading">
      详情页
      <br />
      id的值:{{ $route.params.id }}
    </van-skeleton>
  </div>
</template>
<script setup>
import { ref, onMounted } from "vue";

const loading = ref(true);

onMounted(() => {
  setInterval(() => {
    loading.value = false;
  }, 800);
});
</script>
<style scoped lang='scss'>
</style>